void main(){
  var str = "string";
  var obj = {};
  var num = 123;

  // is关键字可以对于变量数据类型进行判断，正确则返回true，否则返回false
  print(str is String);//true
  print(obj is Map);//true
  print(num is int);//true
}
